package com.kapcb.common.function;

/**
 * <a>Title: ExceptionHandler </a>
 * <a>Author: Kapcb <a>
 * <a>Description: ExceptionHandler <a>
 *
 * @author Kapcb
 * @version 1.0
 * @date 2024/4/21 13:38
 * @since 1.0
 */
@FunctionalInterface
public interface ExceptionHandler {

    /**
     * 异常场景下抛出的异常信息
     *
     * @param message 异常信息
     */
    void throwMessage(String message);
    
}
